package springcloud_eureka_ribbon_consumer3.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/*
 * 提供入口供外部调用
 */
@RestController
public class Consumer3Controller {

	@RequestMapping("/hello")
    public String index(@RequestParam String name) {
        return name+",Hello World! 这是另一个服务！ ";
    }

}
